package com.sgolub.commanndsonline.domain.ref.distinct;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedNativeQuery;

@Entity
@NamedNativeQuery(name = "findDistinctSupportTypes", 
				  query = "select support_type_name from \"DIST_SUPPORT_TYPES\" " +
				  		"where upper(support_type_name) like upper(:paramMatchString) " +
				  		"order by support_type_name", 
				  resultClass = RefDistinctSupportType.class)
public class RefDistinctSupportType {

//	@Id
//    @Column(name = "SUPPORT_TYPE_ID")
//    private String supportTypeId;
  
	@Id
    @Column(name = "SUPPORT_TYPE_NAME")
    private String supportTypeName;

//	public String getSupportTypeId() {
//		return supportTypeId;
//	}
//
//	public void setSupportTypeId(String supportTypeId) {
//		this.supportTypeId = supportTypeId;
//	}

	public String getSupportTypeName() {
		return supportTypeName;
	}

	public void setSupportTypeName(String supportTypeName) {
		this.supportTypeName = supportTypeName;
	}

    
    
    
    
    
	
}
